//
//  TagView.swift
//  FoodStore
//
//  Created by youwei on 2025/5/4.
//

import SwiftUI

struct TagView: View {
    
    var tag: String
    
    var body: some View {
        Text(tag)
            .font(.alibabaPuHuiTi(size: 11.0, weight: .regular))
            .foregroundStyle(.fs575958)
            .padding(.horizontal, 6.0)
            .padding(.vertical, 1.0)
            .background(
                RoundedRectangle(cornerRadius: 4.0)
                    .fill(.fsF5F5F5)
            )
    }
}

#Preview {
    TagView(tag: "标签")
}
